Conversation
|
|
||
| private ObservableList<CAYWEntry<T>> selectedEntries = javafx.collections.FXCollections.observableArrayList(); | ||
|
|
||
| private final static int MAX_LINES = 3; |
There was a problem hiding this comment.
🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.coding.DeclarationOrderCheck> reported by reviewdog 🐶
Static variable definition in wrong order.
| private ObservableList<CAYWEntry<T>> selectedEntries = javafx.collections.FXCollections.observableArrayList(); | ||
|
|
||
| private final static int MAX_LINES = 3; | ||
| private final static int ESTIMATED_CHARS_PER_LINE = 80; |
There was a problem hiding this comment.
🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.coding.DeclarationOrderCheck> reported by reviewdog 🐶
Static variable definition in wrong order.
|
|
||
| private final static int MAX_LINES = 3; | ||
| private final static int ESTIMATED_CHARS_PER_LINE = 80; | ||
| private final static int TOOLTIP_WIDTH = 400; |
There was a problem hiding this comment.
🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.coding.DeclarationOrderCheck> reported by reviewdog 🐶
Static variable definition in wrong order.
| @@ -0,0 +1,44 @@ | |||
| .search-dialog { | |||
There was a problem hiding this comment.
🚫 [checkstyle] <com.puppycrawl.tools.checkstyle.checks.NewlineAtEndOfFileCheck> reported by reviewdog 🐶
File does not end with a newline.
|
Team decision: Even if tests fail, we merge this in to provide an initial endpoint for cite-as-you-write - to unblock JabMap UI development. |
This ports (the beginning of) JabRef#13185 to here.
This adds an inital cite-as-you-write endpoint.
Usage:
./gradlew :jabsrv-cli:runIf you dont have any JDK installed, you can do following:
gg.cmdin the jabref repository.\gg.cmd gradle :jabsrv-cli:runsh ./gg.cmd gradle :jabsrv-cli:runYou can use this endpoint for the search functionality of JabMap.
You need to add new resources to
org.jabref.http.server.LibraryResourceto interact with a single BibTeX entry (e.g., getting the preview). - Alternatively, you can do a GET withAccept: application/x-bibtex-library-csl+jsonon.../demoto geth CSL data objects, which you can feed to citeprojc-js - which is probably much more effort.